<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	<p>这里是B</p>
		<a href="history3.html">点击去C</a>
		<button type="button" onclick="myforward()">前进</button>
		<button type="button" onclick="myback()">后退</button>
		<button type="button" onclick="updatehtml()">刷新当前页面</button>
	</body>
	<script type="text/javascript">
		function myforward(){
			history.forward();
		};
		function myback(){
			history.back();
		};
		function updatehtml(){
			location.reload();
		};
	</script>
</html>
